/**
 * author: zhou
 * date: 2017.10.18
 * description: 路由入口
 * 
 */
const   Router = require('koa-router'),
        router = new Router();

// 引入路由
const systemRouter = require('./system');
const schoolRouter = require('./school');

// 装载路由
router.use('/system', systemRouter.routes(), systemRouter.allowedMethods());
router.use('/school', schoolRouter.routes(), schoolRouter.allowedMethods());

module.exports = router;